package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "向供应商付款请求头")
public class Pay2SupplyRequest {

    @Schema(description="商户id",example="1")
    @NotNull
    private Long merId;

    @Schema(description="门店id",example="1")
    @NotNull
    private Long shopId;

    @Schema(description="供应商id",example="1")
    @NotNull
    private Integer supplyId;

    @Schema(description="支付金额",example="1")
    private BigDecimal account;

    @Schema(description="支付入库id列表")
    @NotEmpty
    private List<Integer> changeIdList;

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getSupplyId() {
        return supplyId;
    }

    public void setSupplyId(Integer supplyId) {
        this.supplyId = supplyId;
    }

    public BigDecimal getAccount() {
        return account;
    }

    public void setAccount(BigDecimal account) {
        this.account = account;
    }

    public List<Integer> getChangeIdList() {
        return changeIdList;
    }

    public void setChangeIdList(List<Integer> changeIdList) {
        this.changeIdList = changeIdList;
    }
}
